package com.bilibili.lzx.service;

import com.bilibili.lzx.dao.DemoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author lzx
 * @date 2024/8/5 20:02
 */
@Service
public class DemoService {

    @Resource
    private DemoDao demoDao;

    public Map<String, Object> query(Long id){
        return demoDao.query(id);
    }

}
